import fetch from '@/axios'
/**
 * 获得组织机构树
 */
export const getOrg = () => {
    return fetch({
        url: 'admin/getOrg',
        method: 'get'
    })
}

/**
 * 获得tree树
 */
export const getTree = () => {
    return fetch({
        url: '/admin/getTree',
        method: 'get'
    })
}